Configuring Advanced Coaching Reports

Initial configuration includes the setup of all default functionality. Advanced functionality requires additional configuration.

To configure Advanced Coaching reports for all users:

  1. Grant the following permissions to the appropriate users based on the required role:

    Designers

    Objects

    OLS

    Record Types Fields FLS

    Survey_vod

    CRUD

    Coaching_Report_vod n/a n/a

    Survey_Question_vod

    CRU

    n/a

    n/a n/a

    Question_vod

    R

    n/a n/a n/a

    Product_vod

    R

    n/a n/a n/a

    Coaches

    Objects

    OLS

    Record Types Fields FLS

    Survey_vod

    R

    n/a
    • Survey_vod.Start_Date_vod
    • Survey_vod.End_Date_vod
    Read

    Survey_Question_vod

    R

    n/a n/a n/a

    Question_vod

    R

    n/a n/a n/a

    Survey_Target_vod

    CRUD

    Coaching_Report_vod
    • Survey_Target_vod.Employee_vod
    • Survey_Target_vod.Coach_vod
    • Survey_Target_vod.Report_Status_vod

    Read

    Question_Response_vod

    CRUD

    CRM_Coaching_vod n/a n/a

    Product_vod

    R

    n/a

    n/a n/a

    Employees

    Objects

    OLS

    Record Types Fields FLS

    Survey_vod

    R

    n/a
    • Survey_vod.Start_Date_vod
    • Survey_vod.End_Date_vod
    Read

    Survey_Question_vod

    R

    n/a n/a n/a

    Survey_Target_vod

    RU

    n/a
    • Survey_Target_vod.Employee_vod
    • Survey_Target_vod.Coach_vod
    • Survey_Target_vod.Report_Status_vod
    Read

    Question_Response_vod

    R

    n/a n/a n/a

    Product_vod

    R

    n/a n/a n/a
  2. Modify the following VMOCs:
    • Modify the Survey_Target_vod__c VMOC for Survey with the following WHERE clause:
      WHERE  ((Account_vod__r.Name != null OR User_vod__c = @@VOD_SF_USER_ID@@ OR Coach_vod__c = @@VOD_SF_USER_ID@@ OR OwnerId = @@VOD_SF_USER_ID@@) AND Status_vod__c != 'Development_vod' AND Start_Date_vod__c <= TODAY)
    • Enable Enhanced Sync for the existing Survey_vod VMOC. This ensures that if any Coaching Report Survey visibility settings change, or the record flips between the Published and Development states, the records are added or removed from the device appropriately.
    • If using the Recall feature, enable Enhanced Sync for Survey_Target_vod. This ensures that when ownership changes to the Survey_Target_vod, the record is removed from the device.
  3. Enable the ENHANCED_COACHING_MODE_vod Veeva Setting with a value of 1.
  4. Edit the ENHNCD_COACHING_COLS Veeva Message to list the Coaching Report columns to display in the tab.
  5. Grant coaches page layout level read-only access to the following, system controlled fields on the Survey_Target_vod object (or remove from the page layout):
    • Territories_vod
    • Product_vod
    • Detail_Group_vod
    • Profile_Name_vod
    • Share_Team_vod
    • Coach_vod
    • Report_Status_vod
    • Status_
  6. Assign the Advanced_Coaching_Reports_vod Visualforce tab to the appropriate profiles.
  7. Grant coaches access to the following Visualforce pages:
    • Advanced_Coaching_Reports_vod
    • New_Coaching_Report_vod
    • Add_Survey_Target_vod
    • Survey_Edit_vod
    • Survey_Management_vod
    • Survey_Target_Edit_vod
    • Survey_Target_Execution_vod
  8. Grant employees access to the following Visualforce pages:

    • Advanced_Coaching_Reports_vod
    • New_Coaching_Report_vod
    • Survey_Edit_vod
    • Survey_Target_Execution_vod